import api from '@/utils/request.js'

export default {
  getInfo: (data) => {
    return api({
      url: '/volumeWeight/list',
      method: 'post',
      data,
      noSuccessTip: true,
    })
  },
  added: (data) => {
    return api({
      url: '/volumeWeight/add',
      method: 'post',
      data,
      noSuccessTip: true,
    })
  },
  updated: (data) => {
    return api({
      url: '/volumeWeight/update',
      method: 'post',
      data,
      noSuccessTip: true,
    })
  },
  deleted: (data) => {
    return api({
      url: '/volumeWeight/delete',
      method: 'post',
      data,
      noSuccessTip: true,
    })
  },
}
